using System;
using System.Collections.Generic;
using System.Text;

using Pampa.CRUD.Core;
using Pampa.CRUD.Security;
using Pampa.MVC.Models;

namespace Pampa.MVC.Security
{
    public class SecurityManagerMvc : ISecurityManager
    {
        public PermissionType GetPermission(object entity, string action)
        {
            return GetPermission(((IPampaViewModel)entity), action);
        }

        public virtual PermissionType GetPermission(IPampaViewModel entity, string action)
        {
            return PermissionType.NotApply;
        }
    }
}
